// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

import '@/assets/css/index.css'

import { DatePicker, Table, TableColumn, Rate, 
    Select, Option, RadioGroup, Radio, Progress,
    Message } from 'element-ui'

Vue.use(DatePicker);
Vue.use(Table);
Vue.use(TableColumn);
Vue.use(Rate);
Vue.use(Select);
Vue.use(Option);
Vue.use(RadioGroup);
Vue.use(Radio);
Vue.use(Progress);
Vue.prototype.$message = Message;

import preview from 'vue-photo-preview'
import 'vue-photo-preview/dist/skin.css'
Vue.use(preview)

Vue.config.productionTip = false


/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
